package com.keensense.vcm.model;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author lanjian
 * @date 2020/4/29 1:58 下午
 */
@XmlRootElement(name = "response")
public class PeopleFaceSearchResponse extends BaseResponse {


    @XmlElement
    private Integer total;

    @XmlElementWrapper(name = "peoplefaces")
    @XmlElement(name = "peopleface")
    private List<PeopleFace> peopleFaces;

    @XmlTransient
    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    @XmlTransient
    public List<PeopleFace> getPeopleFaces() {
        return peopleFaces;
    }

    public void setPeopleFaces(List<PeopleFace> peopleFaces) {
        this.peopleFaces = peopleFaces;
    }

    @XmlRootElement
    public static class PeopleFace {

        @XmlElement
        private String age;

        @XmlElement
        private String backpack;

        @XmlElement
        private String cameraName;

        @XmlElement
        private String cameraSn;

        @XmlElement
        private String domainCode;

        @XmlElement
        private String domainName;

        @XmlElement
        private String eyeglass;

        @XmlElement
        private String fileId;

        @XmlElement
        private String gender;

        @XmlElement
        private String hair;

        @XmlElement
        private String handbag;

        @XmlElement
        private String hat;

        @XmlElement
        private String imageUrl;

        @XmlElement
        private String intel;

        @XmlElement
        private String lowerColor;

        @XmlElement
        private String lowerStyle;

        @XmlElement
        private String messengerBag;

        @XmlElement(name = "mouthask")
        private String mouthMask;

        @XmlElement
        private String otype;

        @XmlElement
        private String picUrl;

        private String picUrlSmall;

        @XmlElement
        private Pos pos;

        @XmlElement
        private String shape;

        @XmlElement
        private String sourceDevice;

        @XmlElement
        private Long recordTime;

        @XmlElement
        private String thumPicUrl;

        @XmlElement
        private String thumbImageUrl;

        @XmlElement
        private String umbrella;

        @XmlElement
        private String upperColor;

        @XmlElement
        private String upperStyle;

        @XmlElement
        private String upperTexture;

        @XmlElement
        private String view;

        @XmlElement
        private String archivesId;

        @XmlTransient
        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }

        @XmlTransient
        public String getBackpack() {
            return backpack;
        }

        public void setBackpack(String backpack) {
            this.backpack = backpack;
        }

        @XmlTransient
        public String getCameraName() {
            return cameraName;
        }

        public void setCameraName(String cameraName) {
            this.cameraName = cameraName;
        }

        @XmlTransient
        public String getCameraSn() {
            return cameraSn;
        }

        public void setCameraSn(String cameraSn) {
            this.cameraSn = cameraSn;
        }

        @XmlTransient
        public String getDomainCode() {
            return domainCode;
        }

        public void setDomainCode(String domainCode) {
            this.domainCode = domainCode;
        }

        @XmlTransient
        public String getDomainName() {
            return domainName;
        }

        public void setDomainName(String domainName) {
            this.domainName = domainName;
        }

        @XmlTransient
        public String getEyeglass() {
            return eyeglass;
        }

        public void setEyeglass(String eyeglass) {
            this.eyeglass = eyeglass;
        }

        @XmlTransient
        public String getFileId() {
            return fileId;
        }

        public void setFileId(String fileId) {
            this.fileId = fileId;
        }

        @XmlTransient
        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        @XmlTransient
        public String getHair() {
            return hair;
        }

        public void setHair(String hair) {
            this.hair = hair;
        }

        @XmlTransient
        public String getHandbag() {
            return handbag;
        }

        public void setHandbag(String handbag) {
            this.handbag = handbag;
        }

        @XmlTransient
        public String getHat() {
            return hat;
        }

        public void setHat(String hat) {
            this.hat = hat;
        }

        @XmlTransient
        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        @XmlTransient
        public String getIntel() {
            return intel;
        }

        public void setIntel(String intel) {
            this.intel = intel;
        }

        @XmlTransient
        public String getLowerColor() {
            return lowerColor;
        }

        public void setLowerColor(String lowerColor) {
            this.lowerColor = lowerColor;
        }

        @XmlTransient
        public String getLowerStyle() {
            return lowerStyle;
        }

        public void setLowerStyle(String lowerStyle) {
            this.lowerStyle = lowerStyle;
        }

        @XmlTransient
        public String getMessengerBag() {
            return messengerBag;
        }

        public void setMessengerBag(String messengerBag) {
            this.messengerBag = messengerBag;
        }

        @XmlTransient
        public String getMouthMask() {
            return mouthMask;
        }

        public void setMouthMask(String mouthMask) {
            this.mouthMask = mouthMask;
        }

        @XmlTransient
        public String getOtype() {
            return otype;
        }

        public void setOtlanLanype(String otype) {
            this.otype = otype;
        }

        @XmlTransient
        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        @XmlElement
        public String getPicUrlSmall() {
            return picUrlSmall;
        }

        public void setPicUrlSmall(String picUrlSmall) {
            this.picUrlSmall = picUrlSmall;
        }

        @XmlTransient
        public Pos getPos() {
            return pos;
        }

        public void setPos(Pos pos) {
            this.pos = pos;
        }

        @XmlTransient
        public String getShape() {
            return shape;
        }

        public void setShape(String shape) {
            this.shape = shape;
        }

        @XmlTransient
        public String getSourceDevice() {
            return sourceDevice;
        }

        public void setSourceDevice(String sourceDevice) {
            this.sourceDevice = sourceDevice;
        }

        @XmlTransient
        public Long getRecordTime() {
            return recordTime;
        }

        public void setRecordTime(Long recordTime) {
            this.recordTime = recordTime;
        }

        @XmlTransient
        public String getThumPicUrl() {
            return thumPicUrl;
        }

        public void setThumPicUrl(String thumPicUrl) {
            this.thumPicUrl = thumPicUrl;
        }

        @XmlTransient
        public String getThumbImageUrl() {
            return thumbImageUrl;
        }

        public void setThumbImageUrl(String thumbImageUrl) {
            this.thumbImageUrl = thumbImageUrl;
        }

        @XmlTransient
        public String getUmbrella() {
            return umbrella;
        }

        public void setUmbrella(String umbrella) {
            this.umbrella = umbrella;
        }

        @XmlTransient
        public String getUpperColor() {
            return upperColor;
        }

        public void setUpperColor(String upperColor) {
            this.upperColor = upperColor;
        }

        @XmlTransient
        public String getUpperStyle() {
            return upperStyle;
        }

        public void setUpperStyle(String upperStyle) {
            this.upperStyle = upperStyle;
        }

        @XmlTransient
        public String getUpperTexture() {
            return upperTexture;
        }

        public void setUpperTexture(String upperTexture) {
            this.upperTexture = upperTexture;
        }

        @XmlTransient
        public String getView() {
            return view;
        }

        public void setView(String view) {
            this.view = view;
        }

        @XmlTransient
        public String getArchivesId() {
            return archivesId;
        }

        public void setArchivesId(String archivesId) {
            this.archivesId = archivesId;
        }

        public static class Pos {

            /**
             * bottom : 970 left : 958 right : 1268 top : 96
             */
            @XmlElement
            private String bottom;

            @XmlElement
            private String left;

            @XmlElement
            private String right;

            @XmlElement
            private String top;

            @XmlTransient
            public String getBottom() {
                return bottom;
            }

            public void setBottom(String bottom) {
                this.bottom = bottom;
            }

            @XmlTransient
            public String getLeft() {
                return left;
            }

            public void setLeft(String left) {
                this.left = left;
            }

            @XmlTransient
            public String getRight() {
                return right;
            }

            public void setRight(String right) {
                this.right = right;
            }

            @XmlTransient
            public String getTop() {
                return top;
            }

            public void setTop(String top) {
                this.top = top;
            }
        }
    }

}
